package com.ruoyi.chy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 积分明细对象 integral_details
 * 
 * @author liuweichao
 * @date 2025-05-30
 */
public class IntegralDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细编号 */
    private Integer id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Integer userId;

    /** 积分状态 */
    @Excel(name = "积分状态")
    private Integer status;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date times;

    /** 积分内容 */
    @Excel(name = "积分内容")
    private String content;

    /** 积分数量 */
    @Excel(name = "积分数量")
    private Integer isvalue;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setTimes(Date times) 
    {
        this.times = times;
    }

    public Date getTimes() 
    {
        return times;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setIsvalue(Integer isvalue) 
    {
        this.isvalue = isvalue;
    }

    public Integer getIsvalue() 
    {
        return isvalue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("times", getTimes())
            .append("content", getContent())
            .append("isvalue", getIsvalue())
            .append("remark", getRemark())
            .toString();
    }
}
